.class Lcom/waiqin365/lightapp/kaoqin/fa;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    const v5, 0x7f0806b1

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object v3, v0

    check-cast v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->b()Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "1"

    iget-object v1, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->e(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->e(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v2, v4}, Lcom/waiqin365/base/login/mainview/a;->n(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    const-string/jumbo v4, "/fhUpload/"

    invoke-virtual {v2, v4}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "/fhUpload/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    :cond_0
    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v1, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->e(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.RUN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    const-class v2, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_1
    iget-object v6, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v2, v5}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    const v5, 0x7f080363

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "\uff01"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    const/4 v5, 0x0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->a(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/fb;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kaoqin/fb;-><init>(Lcom/waiqin365/lightapp/kaoqin/fa;)V

    const-wide/16 v2, 0x7d0

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    goto/16 :goto_0

    :cond_2
    const-string/jumbo v0, "2"

    iget-object v1, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v6, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v2, v5}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->b:Ljava/lang/String;

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/kaoqin/fc;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/kaoqin/fc;-><init>(Lcom/waiqin365/lightapp/kaoqin/fa;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->a(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    new-instance v1, Lcom/waiqin365/compons/view/c;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    sget v5, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v6, Lcom/waiqin365/lightapp/kaoqin/fd;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/kaoqin/fd;-><init>(Lcom/waiqin365/lightapp/kaoqin/fa;)V

    invoke-direct {v1, v2, v4, v5, v6}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->a(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->b:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->b:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    const v4, 0x7f080118

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, v3, Lcom/waiqin365/lightapp/kaoqin/c/c/g;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    const v2, 0x7f0803ba

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->f(Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/fa;->a:Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;

    const v2, 0x7f08078e

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kaoqin/NewTGangDakaActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x1f
        :pswitch_0
    .end packed-switch
.end method
